﻿<!DOCTYPE html>
<html>
	<head>
		<title>HYPGEOM.DIST Function</title>
		<meta charset="utf-8" />
		<meta name="description" content="" />
		<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
		<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
        <script type="text/javascript" src="../callback.js"></script>
        <script type="text/javascript" src="../search/js/page-search.js"></script>
	</head>
	<body>
		<div class="mainpart">
            <div class="search-field">
                <input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
            </div>
			<h1>HYPGEOM.DIST Function</h1>
			<p>The <b>HYPGEOM.DIST</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#statistical" onclick="onhyperlinkclick(this)">statistical functions</a>. It is used to return the hypergeometric distribution, the probability of a given number of sample successes, given the sample size, population successes, and population size.</p>
			<h3>Syntax</h3> 
			<p><b><em>HYPGEOM.DIST(sample_s, number_sample, population_s, number_pop, cumulative)</em></b></p> 
			<p>The <b>HYPGEOM.DIST</b> function has the following arguments:</p> 
			<table style="width: 40%">
                <tr>
                    <th style="background-color: #f4f4f4" width="150ch"><b>Argument</b></th>
                    <th style="background-color: #f4f4f4"><b>Description</b></th>
                </tr>
                <tr>
                    <td><b><em>sample_s</em></b></td>
                    <td>The number of the successes in the given sample, a numeric value greater than 0, but less than the lesser of <b><em>number_sample</em></b> or <b><em>population_s</em></b>.</td>
                </tr>
				<tr>
                    <td><b><em>number_sample</em></b></td>
                    <td>The size of the sample, a numeric value greater than 0, but less than <b><em>number_pop</em></b>.</td>
                </tr>
				<tr>
                    <td><b><em>population_s</em></b></td>
                    <td>The number of the successes in the population, a numeric value greater than 0, but less than <b><em>number_pop</em></b>.</td>
                </tr>
				<tr>
                    <td><b><em>number_pop</em></b></td>
                    <td>The size of the population, a numeric value greater than 0.</td>
                </tr>
				<tr>
                    <td><b><em>cumulative</em></b></td>
                    <td>A logical value (TRUE or FALSE) that determines the function form. If it is TRUE, the function returns the cumulative distribution function. If it is FALSE, the function returns the probability mass function.</td>
                </tr>
            </table>
			
			<h3>Notes</h3>	
			<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>HYPGEOM.DIST</b> function.</p>
			
			<h3>Examples</h3>
            <p>The figure below displays the result returned by the <b>HYPGEOM.DIST</b> function.</p>
			<p><img alt="HYPGEOM.DIST Function" src="../images/hypgeom-dist.png" /></p>
		</div>
	</body>
</html>